/**
 *消息列表接口
 *
*/
import {
  http
} from '@/common/service.js'

//已读消息
const Read = (header) => {
	return http.get('message/xySysNews/haveReadList', {
    header
  })
}
//未读消息
const Unread = (header) => {
	return http.get('message/xySysNews/haveNotReadList', {
		header
  })
}
//将消息变为已读
const replied = (header,params) =>{
	return http.get('message/xySysNews/toReadNews',{
		header,
		params
	})
}
export default {
	Read,
	Unread,
	replied
}
